/**
 * 历史备份记录
 * @author rxliuli
 */
class SysBackupLog {
    /**
     * 构造函数
     * @param {Object} [option] 可选参数
     * @param {Number} [option.id] 编号
     * @param {String} [option.backupFile] 备份文件
     * @param {Date} [option.backupTime] 备份时间
     * @param {String} [option.operUser] 操作用户
     * @param {...Object} [option.args] 其他参数
     */
    constructor({
                    id,
                    backupFile,
                    backupTime,
                    operUser,
                    ...args
                } = {}) {
        this.id = id
        this.backupFile = backupFile
        this.backupTime = backupTime
        this.operUser = operUser
        Object.assign(this, args)
    }
}